package com.fc.test.mapper.auto;

import com.fc.test.model.auto.ExamQuestion;
import com.fc.test.model.auto.ExamQuestionExample;
import java.util.List;

import com.fc.test.model.auto.Question;
import org.apache.ibatis.annotations.Param;

/**
 *  ExamQuestionMapper
 * @author martins_自动生成
 * @email 610817750@qq.com
 * @date 2019-12-03 14:27:57
 */
public interface ExamQuestionMapper {
      	   	      	      	      
    long countByExample(ExamQuestionExample example);

    int deleteByExample(ExamQuestionExample example);
		
    int deleteByPrimaryKey(String id);
		
    int insert(ExamQuestion record);

    int insertSelective(ExamQuestion record);

    List<ExamQuestion> selectByExample(ExamQuestionExample example);
		
    ExamQuestion selectByPrimaryKey(String id);
		
    int updateByExampleSelective(@Param("record") ExamQuestion record, @Param("example") ExamQuestionExample example);

    int updateByExample(@Param("record") ExamQuestion record, @Param("example") ExamQuestionExample example); 
		
    int updateByPrimaryKeySelective(ExamQuestion record);

    int updateByPrimaryKey(ExamQuestion record);

    List<Question> listBypaperId(String id);
}